const mongoose = require('mongoose');


const Schema = mongoose.Schema;


const memberLevelSchema = new Schema({
    level_id: {

        type: String,
        unique: true,
        required: true
    },
    member_level: {

        type: String,
        unique: true,
        required: true
    },
    money: {

        type: Number,
        unique: true,
        required: true
    },
    discount: {

        type: Number,
        unique: true,
        required: true
    }
});

module.exports = mongoose.model('memberLevels', memberLevelSchema);